package com.bsoft.gol.hbs.bbpmessagel.enums;

/**
 * <p> 角色类型定义枚举 </p>
 * User:
 * Date:
 */
public enum RoleIdEnum {

    /**
     * 管理员
     */
    ADMIN("admin"),

    /**
     * 医生
     */
    DOCTOR("doctor"),
    /**
     * 居民
     */
    PATIENT("patient");

    private String title;

    RoleIdEnum(String title) {
        this.title = title;
    }

    public String title() {
        return title;
    }


    @Override
    public String toString() {
        return "RoleIdEnum{" +
                "title='" + title + '\'' +
                "} " + super.toString();
    }
}
